/mob/living/simple_animal/hostile/mercenary1
	name = "Mercenary"
	desc = "A Human Mercenary. He looks pissed off!"
	icon_state = "merc1"
	icon_living = "merc1"
	icon_dead = "merc1"
	icon_gib = "syndicate_gib"
	speak_chance = 0
	turns_per_move = 5
	response_help = "pokes the"
	response_disarm = "shoves the"
	response_harm = "clobbers the"
	speed = 0
	stop_automated_movement_when_pulled = 0
	maxHealth = 30
	health = 30
	harm_intent_damage = 8
	melee_damage_lower = 8
	melee_damage_upper = 10
	attacktext = "uppercuts"
	a_intent = "harm"
	var/corpse = /obj/effect/landmark/mobcorpse/syndicatesoldier
	var/weapon1
	var/weapon2
	wall_smash = 1
	faction = "merc1"
	status_flags = CANPUSH

/mob/living/simple_animal/hostile/mercenary1/range
	name = "Gunslinger Mercenary"
	desc = "A Human Mercenary. He looks pissed off! \red AND HE HAS A GUN!"
	icon_state = "merc3"
	icon_living = "merc3"
	icon_dead = "merc3"
	maxHealth = 50
	health = 50
	weapon1 = /obj/item/weapon/gun/projectile/deagle
	projectilesound = 'sound/weapons/Gunshot.ogg'
	projectiletype = /obj/item/projectile/bullet/weakbullet
	ranged = 1

/mob/living/simple_animal/hostile/mercenary1/sword
	name = "Swordsman Mercenary"
	desc = "A Human Mercenary. He looks pissed off! \red AND HE HAS AN ENERGY SWORD!"
	icon_state = "merc2"
	icon_living = "merc2"
	icon_dead = "merc2"
	maxHealth = 40
	health = 40

/mob/living/simple_animal/hostile/mercenary1/sword/attackby(var/obj/item/O as obj, var/mob/user as mob)
	if(O.force)
		if(prob(80))
			var/damage = O.force
			if (O.damtype == HALLOSS)
				damage = 0
			health -= damage
			visible_message("\red \b [src] has been attacked with the [O] by [user]. ")
		else
			visible_message("\red \b [src] blocks the [O] with his sword! ")
	else
		usr << "\red This weapon is ineffective, it does no damage."
		visible_message("\red [user] gently taps [src] with the [O]. ")


/mob/living/simple_animal/hostile/mercenary1/sword/bullet_act(var/obj/item/projectile/Proj)
	if(!Proj)	return
	if(prob(75))
		src.health -= Proj.damage
	else
		visible_message("\red <B>[src] deflects [Proj] with his sword!</B>")
	return 0